<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>gulp的使用与安装 | H5学习笔记</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        <meta name="author" content="liujw">
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="gitbook/style.css">
    
        
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-sectionx/sectionx.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="./css/introduce.html" />
    
    
    <link rel="prev" href="./css/sass.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.2"
        data-chapter-title="gulp的使用与安装"
        data-filepath="gulp.md"
        data-basepath="."
        data-revision="Mon Jan 08 2018 00:40:26 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="./index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="md/html.html">
            
                
                    <a href="./md/html.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        html
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="html/description.html">
            
                
                    <a href="./html/description.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        页面基本认识
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="md/ul/ul.html">
            
                
                    <a href="./md/ul/ul.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        ul标签使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="html/a.html">
            
                
                    <a href="./html/a.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        a标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="html/table.html">
            
                
                    <a href="./html/table.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        table标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="html/img.html">
            
                
                    <a href="./html/img.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        img标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="html/hotmap.html">
            
                
                    <a href="./html/hotmap.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        hotmap基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="html/audio&amp;video.html">
            
                
                    <a href="./html/audio&amp;video.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        audio和video标签基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="html/picture.html">
            
                
                    <a href="./html/picture.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.8.</b>
                        
                        响应式picture标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="html/dl.html">
            
                
                    <a href="./html/dl.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.9.</b>
                        
                        dl标签基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="html/ul&amp;ol.html">
            
                
                    <a href="./html/ul&amp;ol.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.10.</b>
                        
                        有序与无序列表
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="html/iframe.html">
            
                
                    <a href="./html/iframe.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.11.</b>
                        
                        内嵌框架
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="html/base&amp;icon.html">
            
                
                    <a href="./html/base&amp;icon.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.12.</b>
                        
                        base&amp;link基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="html/input&amp;label.html">
            
                
                    <a href="./html/input&amp;label.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.13.</b>
                        
                        input&amp;label基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="html/form.html">
            
                
                    <a href="./html/form.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.14.</b>
                        
                        from标签基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="html/input+.html">
            
                
                    <a href="./html/input+.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.15.</b>
                        
                        input拓展
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="html/select.html">
            
                
                    <a href="./html/select.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.16.</b>
                        
                        select&amp;optgroup标签
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="md/css.html">
            
                
                    <a href="./md/css.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        css
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="css/sass.html">
            
                
                    <a href="./css/sass.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        sass的安装与基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.2" data-path="gulp.html">
            
                
                    <a href="./gulp.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        gulp的使用与安装
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="css/introduce.html">
            
                
                    <a href="./css/introduce.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        css引入方式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="md/css，selector.html">
            
                
                    <a href="./md/css，selector.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        选择器
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="css/selector/es.html">
            
                
                    <a href="./css/selector/es.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.1.</b>
                        
                        元素选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="css/selector/relation.html">
            
                
                    <a href="./css/selector/relation.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.2.</b>
                        
                        关系选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.3" data-path="css/selector/pc.html">
            
                
                    <a href="./css/selector/pc.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.3.</b>
                        
                        伪类选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.4" data-path="css/selector/id&amp;class.html">
            
                
                    <a href="./css/selector/id&amp;class.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.4.</b>
                        
                        id和类选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.5" data-path="css/selector/attribute.html">
            
                
                    <a href="./css/selector/attribute.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.5.</b>
                        
                        属性选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.6" data-path="css/selector/pe.html">
            
                
                    <a href="./css/selector/pe.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.6.</b>
                        
                        伪像选择器
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="css/type/type.html">
            
                
                    <a href="./css/type/type.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        css样式
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="css/type/color.html">
            
                
                    <a href="./css/type/color.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.1.</b>
                        
                        颜色属性color
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5.2" data-path="css/type/font.html">
            
                
                    <a href="./css/type/font.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.2.</b>
                        
                        字体样式font
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5.3" data-path="css/type/text-decoration.html">
            
                
                    <a href="./css/type/text-decoration.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.3.</b>
                        
                        文本修饰
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5.4" data-path="css/type/text-shadow.html">
            
                
                    <a href="./css/type/text-shadow.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.4.</b>
                        
                        文字阴影
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5.5" data-path="css/type/iconfont.html">
            
                
                    <a href="./css/type/iconfont.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.5.</b>
                        
                        尺量图iconfont引用
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="css/layout/layout.html">
            
                
                    <a href="./css/layout/layout.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        css布局
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" data-path="css/layout/align.html">
            
                
                    <a href="./css/layout/align.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.1.</b>
                        
                        对齐方式align
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.2" data-path="css/layout/box.html">
            
                
                    <a href="./css/layout/box.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.2.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.3" data-path="css/layout/float.html">
            
                
                    <a href="./css/layout/float.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.3.</b>
                        
                        浮动
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.4" data-path="css/layout/inline&amp;block.html">
            
                
                    <a href="./css/layout/inline&amp;block.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.4.</b>
                        
                        块级元素和行内元素
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.5" data-path="css/layout/textprocessing.html">
            
                
                    <a href="./css/layout/textprocessing.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.5.</b>
                        
                        文字处理和图片处理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.6" data-path="css/layout/position.html">
            
                
                    <a href="./css/layout/position.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.6.</b>
                        
                        定位属性position
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.7" data-path="css/layout/flex.html">
            
                
                    <a href="./css/layout/flex.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.7.</b>
                        
                        弹性盒子布局flex
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="./" >H5学习笔记</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="gulp-&#x5B66;&#x4E60;">GULP &#x5B66;&#x4E60;</h1>
<h2 id="what">what</h2>
<p>&#x81EA;&#x52A8;&#x5316;&#x5904;&#x7406;&#x5DE5;&#x5177;&#x7684;&#x5E73;&#x53F0;&#xFF0C;&#x81EA;&#x52A8;&#xFF0C;&#x9AD8;&#x6548;&#xFF0C;&#x5E26;&#x611F;&#x3002;
&#x5177;&#x5907;&#x7684;&#x529F;&#x80FD;&#x6709;&#xFF1A;</p>
<ul>
<li>&#x56FE;&#x7247;&#x7684;&#x5904;&#x7406;&#xFF0C;&#x538B;&#x7F29;&#x4F18;&#x5316;&#xFF0C;&#x96EA;&#x78A7;&#x56FE;</li>
<li>css&#x7684;&#x538B;&#x7F29;&#xFF0C;&#x81EA;&#x52A8;&#x9884;&#x7F16;&#x8BD1;&#xFF0C;&#x517C;&#x5BB9;&#x5904;&#x7406;</li>
<li>js&#x7684;&#x538B;&#x7F29;&#xFF0C;&#x52A0;&#x5BC6;&#xFF0C;</li>
<li>html&#x538B;&#x7F29;</li>
<li>&#x540C;&#x6B65;&#x6D4F;&#x89C8;&#x529F;&#x80FD;</li>
<li>&#x6587;&#x4EF6;&#x7684;&#x5E38;&#x89C4;&#x64CD;&#x4F5C;</li>
<li>&#x3002;&#x3002;&#x3002;&#x3002;<br>gulp&#x7C7B;&#x4F3C;&#x4E8E;&#x63D2;&#x69FD;&#xFF0C;&#x4E0A;&#x9762;&#x7684;&#x8FD9;&#x4E9B;&#x529F;&#x80FD;&#xFF0C;&#x5168;&#x90E8;&#x662F;&#x5229;&#x7528;&#x4ED6;&#x7684;&#x63D2;&#x4EF6;&#x6765;&#x5B9E;&#x73B0;
&#x6240;&#x4EE5;gulp&#x7684;&#x6838;&#x5FC3;&#x529F;&#x80FD;&#x5C31;&#x662F;&#x65B9;&#x4FBF;&#x5F00;&#x53D1;&#x8005;&#x5F00;&#x53D1;&#xFF0C;&#x548C;&#x53D1;&#x5E03;&#x6700;&#x7EC8;&#x4EA7;&#x54C1;&#x3002;</li>
</ul>
<h2 id="&#x5B89;&#x88C5;gulp">&#x5B89;&#x88C5;gulp</h2>
<p>0 &#x5B89;&#x88C5;node+npm&#x73AF;&#x5883;</p>
<pre><code>    npm -v   //&#x68C0;&#x67E5;npm&#x7248;&#x672C;&#x53F7;
</code></pre><p>1 &#x5B89;&#x88C5;&#x5168;&#x5C40;gulp</p>
<pre><code>    cnpm i gulp-cli -g
    gulp -v  //&#x68C0;&#x67E5;gulp&#x7248;&#x672C;&#x53F7;
</code></pre><p>2 &#x53BB;&#x5230;&#x5F00;&#x53D1;&#x76EE;&#x5F55;&#x4E0B;&#x5B89;&#x88C5;&#xFF0C;&#x5B89;&#x88C5;&#x672C;&#x5730;gulp</p>
<pre><code>    cnpm i gulp -D
</code></pre><p>&#x7136;&#x540E;&#x76EE;&#x5F55;&#x4E0B;&#x4F1A;&#x6709;<code>node_modules</code>&#x548C;<code>package.json</code>
&#x5982;&#x679C;&#x6CA1;&#x6709;&#x81EA;&#x52A8;&#x751F;&#x6210;&#x4E00;&#x4E2A;package.json,&#x53EF;&#x4EE5;&#x6267;&#x884C;&#x4E0B;&#x9762;&#x7684;&#x547D;&#x4EE4;&#x751F;&#x6210;&#x4E00;&#x4E2A;</p>
<pre><code>    npm init -y
</code></pre><h2 id="gulp&#x7684;&#x4F7F;&#x7528;">gulp&#x7684;&#x4F7F;&#x7528;</h2>
<p>1.&#x521B;&#x5EFA;js&#x6587;&#x4EF6;&#x540D;&#x4E3A;gulpfile.js
2.&#x9700;&#x8981;&#x4EC0;&#x4E48;&#x63D2;&#x4EF6;&#xFF0C;&#x90A3;&#x4E48;&#x5C31;&#x5B89;&#x88C5;&#x4EC0;&#x4E48;&#x63D2;&#x4EF6;</p>
<pre><code>    cnpm i gulp-xxx -D
</code></pre><p><code>-D</code>&#x7684;&#x4F5C;&#x7528;&#x5176;&#x5B9E;&#x662F;&#x5E2E;&#x4F60;&#x8BB0;&#x4E0B;&#x7684;&#x63D2;&#x4EF6;&#x5217;&#x8868;&#xFF0C;&#x65B9;&#x4FBF;&#x4E0B;&#x6B21;&#x518D;&#x6B21;&#x5B89;&#x88C5;</p>
<p>3.&#x5B89;&#x88C5;&#x5B8C;&#x63D2;&#x4EF6;&#x540E;&#xFF0C;&#x5C31;&#x53EF;&#x4EE5;&#x5F15;&#x5165;&#x63D2;&#x4EF6;&#xFF0C;&#x7528;&#x7C7B;&#x4F3C;&#x4E0B;&#x9762;&#x7684;&#x4EE3;&#x7801;&#xFF0C;&#x6765;&#x5B9A;&#x4E49;&#x81EA;&#x5DF1;&#x7684;&#x4EFB;&#x52A1;</p>
<pre><code class="lang-js">    <span class="hljs-comment">//&#x5BFC;&#x5165;&#x5DE5;&#x5177;&#x5305; require(&apos;node_modules&#x91CC;&#x5BF9;&#x5E94;&#x6A21;&#x5757;&apos;)</span>
<span class="hljs-keyword">var</span> gulp = <span class="hljs-built_in">require</span>(<span class="hljs-string">&apos;gulp&apos;</span>), <span class="hljs-comment">//&#x672C;&#x5730;&#x5B89;&#x88C5;gulp&#x6240;&#x7528;&#x5230;&#x7684;&#x5730;&#x65B9;</span>
    mincss = <span class="hljs-built_in">require</span>(<span class="hljs-string">&apos;gulp-minify-css&apos;</span>);<span class="hljs-comment">//&#x5BFC;&#x5165;&#x63D2;&#x4EF6;&#x5E93;</span>

<span class="hljs-comment">//&#x5B9A;&#x4E49;&#x4E00;&#x4E2A;testCssmin&#x4EFB;&#x52A1;&#xFF08;&#x81EA;&#x5B9A;&#x4E49;&#x4EFB;&#x52A1;&#x540D;&#x79F0;&#xFF09;</span>
gulp.task(<span class="hljs-string">&apos;mincss&apos;</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params"></span>) </span>{
    gulp.src(<span class="hljs-string">&apos;src/css/*.css&apos;</span>)<span class="hljs-comment">//&#x8BE5;&#x4EFB;&#x52A1;&#x9488;&#x5BF9;&#x7684;&#x6587;&#x4EF6;</span>
        .pipe(mincss())<span class="hljs-comment">//&#x8BE5;&#x4EFB;&#x52A1;&#x8C03;&#x7528;&#x7684;&#x6A21;&#x5757;</span>
        .pipe(gulp.dest(<span class="hljs-string">&apos;dist/css&apos;</span>));<span class="hljs-comment">//&#x5C06;&#x4F1A;&#x5728;src/css&#x4E0B;&#x751F;&#x6210;&#x538B;&#x7F29;&#x540E;&#x7684;&#x6587;&#x4EF6;</span>
});

<span class="hljs-comment">//gulp.task(name[, deps], fn) &#x5B9A;&#x4E49;&#x4EFB;&#x52A1;  name&#xFF1A;&#x4EFB;&#x52A1;&#x540D;&#x79F0; deps&#xFF1A;&#x4F9D;&#x8D56;&#x4EFB;&#x52A1;&#x540D;&#x79F0; fn&#xFF1A;&#x56DE;&#x8C03;&#x51FD;&#x6570;</span>
<span class="hljs-comment">//gulp.src(globs[, options]) &#x6267;&#x884C;&#x4EFB;&#x52A1;&#x5904;&#x7406;&#x7684;&#x6587;&#x4EF6;  globs&#xFF1A;&#x5904;&#x7406;&#x7684;&#x6587;&#x4EF6;&#x8DEF;&#x5F84;(&#x5B57;&#x7B26;&#x4E32;&#x6216;&#x8005;&#x5B57;&#x7B26;&#x4E32;&#x6570;&#x7EC4;) </span>
<span class="hljs-comment">//gulp.dest(path[, options]) &#x5904;&#x7406;&#x5B8C;&#x540E;&#x6587;&#x4EF6;&#x751F;&#x6210;&#x8DEF;&#x5F84;</span>
</code></pre>
<p>4.&#x8C03;&#x7528;&#x4EFB;&#x52A1;</p>
<pre><code>    gulp mincss
</code></pre><p>5.&#x9644;&#x5F55;</p>
<blockquote>
<p>&#x7F51;&#x4E0A;&#x8D44;&#x6599;:<a href="http://www.cnblogs.com/2050/p/4198792.html" target="_blank">http://www.cnblogs.com/2050/p/4198792.html</a></p>
</blockquote>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="./css/sass.html" class="navigation navigation-prev " aria-label="Previous page: sass的安装与基本使用"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="./css/introduce.html" class="navigation navigation-next " aria-label="Next page: css引入方式"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="gitbook/app.js"></script>

    
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-sectionx/sectionx.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"sectionx":{},"expandable-chapters":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
